package com.myway.service;

import com.myway.dto.common.JsonData;
import com.myway.pojo.FlyAccessRecords;
import com.myway.pojo.TabMemberInfo;

public interface MemberService {
    //添加会员信息
    public JsonData addMember(TabMemberInfo tabMemberInfo);
    //修改会员信息
    public JsonData updateMember(TabMemberInfo tabMemberInfo);

    //判断修改时输入的证件号或手机号或邮箱号是否重复
    //public JsonData updateIsRepetition(String str, String membId);

    //判断添加时输入的证件号或手机号或邮箱号是否重复
    //public JsonData addIsRepetition(String str);

    //判断修改时输入的证件号或手机号或邮箱号是否重复
    public boolean updateIsRepetition(TabMemberInfo tabMemberInfo);

    //判断添加时输入的证件号或手机号或邮箱号是否重复
    public boolean addIsRepetition(TabMemberInfo tabMemberInfo);

    //逻辑删除旅客常用联系人
    void deleteFrequentFlyer(Long id);

    //添加用户访问记录
    public Boolean addAccessRecords(FlyAccessRecords flyAccessRecords);

}
